<template>
    <div class="common-head">
        <van-nav-bar
        :title="title"
        left-arrow
        @click-left="$router.go(-1)"
        />
    </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  }
}
</script>

<style lang="scss" scoped>
.common-head{
    position: fixed;
    z-index: 10;
    height: 46px;
    width: 100%;
    line-height: 46px;
    /deep/.van-ellipsis{
        font-weight: 900;
    }
    /deep/.van-icon-arrow-left{
        color: #333;
        font-size:20px;
    }
}
</style>
